package com.mycompany.inventory.pojo;

public class Carrier {

	private String Id;
	private String name;	
	private String remark;
	
	public Carrier(String id, String name, String remark) {		
		Id = id;
		this.name = name;
		this.remark = remark;
	}
	
	public Carrier() {		
		Id = "";
		this.name = "";
		this.remark = "";
	}
	
	public void clear(){
		Id = "";
		this.name = "";
		this.remark = "";
	}
	
	public void copyValue(Carrier car){
		Id = car.getId();
		this.name = car.getName();
		this.remark = car.getRemark();
	}

	public String getId() {
		return Id;
	}

	public void setId(String id) {
		Id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String toString(){
		return name;
	}
}
